import Theme from '~/styles/Theme'
import { envType } from '../../build/env/globalVar'
import HttpUtil from './HttpUtil'

export default class Config {
    /**
     * 环境变量
     */
    static env: envType = {} as any

    static init = async (app: any) => {
        Config.env = JSON.parse('#{env}')
        Theme.init()
        await HttpUtil.init()
        app.mount('#app')
    }
}
